Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to .NET 5 wherever possible #921

Merged
merged 11 commits into from
May 22, 2021
Merged

Updated to .NET 5 wherever possible #921

merged 11 commits into from
May 22, 2021

Conversation

tomasherceg
Copy link
Member

Important: this PR is based on #872 (to prevent possible conflicts). Do not review & merge before merging new CLI first.

Some projects were targetting .NET Core 2.0 or 3.0 which are out of support.

I've updated:

  • ASP.NET Core samples to .NET Core 2.1 (lowest LTS version)
  • ASP.NET Core latest samples to .NET 5.0
  • all test projects to .NET 5.0

Versions of the framework itself remain as they are.

I've also fixed some warnings also, but we have still quite a lot of them (mostly related to nullable reference types).

Update NuGet packages in tests
Fixed some warnings
@quigamdev quigamdev self-requested a review December 29, 2020 17:12
@tomasherceg tomasherceg added this to the Version 3.1 milestone Mar 27, 2021
@quigamdev
Copy link
Contributor

This PR is ready for review.

@quigamdev quigamdev requested review from exyi and acizmarik May 20, 2021 22:26
@quigamdev quigamdev requested a review from cafour May 22, 2021 09:28
@quigamdev
Copy link
Contributor

Fixed all issues. Should be good to go. @cafstep @tomasherceg

CustomersDataSet.SetSortExpression("BirthDate");
if (CustomersDataSet.SortingOptions.SortExpression == "BirthDate")
{
CustomersDataSet.SortingOptions.SortDescending = !CustomersDataSet.SortingOptions.SortDescending;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CustomersDataSet.SortingOptions.SortDescending = !CustomersDataSet.SortingOptions.SortDescending;
CustomersDataSet.SortingOptions.SortDescending ^= true;

;)

@exyi exyi merged commit 60df745 into main May 22, 2021
@exyi exyi deleted the upgrade-net5 branch May 22, 2021 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants